$f: 19.2;

body {
  background: #01000A;
  color: white;
}

img{
  object-fit: cover;
}

.home {
  overflow: hidden;
  .banner {
    position: relative;

    &::after {
      content: '';
      display: block;
      background: url(../images/shadow.png) no-repeat;
      background-size: cover;
      position: absolute;
      left: 0;
      bottom: -46/$f+vw;
      width: 100%;
      height: 350/$f+vw;
    }

    img {
      width: 100%;
      display: block;
      height: 100vh;
      object-fit: cover;
    }

    .text {
      position: absolute;
      left: 150/$f+vw;
      top: 534/$f+vw;
      color: #FFF;
      font-size: 96/$f+vw;
      font-weight: 500;
      line-height: 1;
      text-transform: capitalize;
      line-height: 1.1;
      z-index: 10;
    }
  }

  .section1{
    padding: 80/$f+vw 150/$f+vw 188/$f+vw 150/$f+vw;
    position: relative;
    z-index: 1;
    .bg{
      z-index: -1;
      position: absolute;
      top: 276/$f+vw;
      left: 0;
      width: 100%;
    }
    .wrap{
      display: flex;
      justify-content: space-between;
      .item{
        width: 773/$f+vw;
        height: 749/$f+vw;
        border-radius: 2/$f+vw;
        border: 2/$f+vw solid #0080FA;
        background: #01000A;
        padding: 58/$f+vw 58/$f+vw 0 58/$f+vw;
        &.on{
          .img{
            .hide{
              opacity: 1;
            }
          }
        }
        .img{
          width: 100%;
          height: 578/$f+vw;
          position: relative;
          .pic{
            width: 100%;
            height: 100%;
            position: relative;
            &.on{
              img{
                opacity: 0!important;
                &:nth-child(3){
                  opacity: 1!important;
                }
              }
            }
            &:hover{
              img{
                &:first-child{
                  opacity: 0;
                }
                &:nth-child(2) {
                  opacity: 1;
                }
              }
            }
            img{
              width: 100%;
              height: 100%;
              position: absolute;
              top: 0;
              left: 0;
              transition: .6s ease;
              &:nth-child(2),&:nth-child(3) {
                opacity: 0;
                pointer-events: none;
              }
            }
          }
          .hide{
            position: absolute;
            width: 100%;
            height: 100%;
            background: #282828;
            top: 0;
            left: 0;
            z-index: 9;
            padding: 57/$f+vw 82/$f+vw 0 66/$f+vw;
            opacity: 0;
            pointer-events: none;
            transition: 1s;
            .h1{
              color: #1FA5FD;
              font-size: 20/$f+vw;
              font-style: normal;
              font-weight: 500;
              line-height: 36/$f+vw; /* 180% */
            }
            .h2{
              margin: 19/$f+vw 0 0 0;
              p{
                color: #FFF;
                font-size: 20/$f+vw;
                font-style: normal;
                font-weight: 400;
                line-height: 36/$f+vw; /* 180% */
                position: relative;
                &:after{
                  content: '';
                  position: absolute;
                  width: 5/$f+vw;
                  height: 5/$f+vw;
                  background: #fff;
                  border-radius: 50%;
                  left: -15/$f+vw;
                  top: 15/$f+vw;
                }
              }
            }
          }
        }
        .text{
          display: flex;
          align-items: center;
          justify-content: space-between;
          position: relative;
          margin: 23/$f+vw 0 0 0;
          .p1{
            color: #FFF;
            font-size: 42/$f+vw;
            font-style: normal;
            font-weight: 500;
          }
          .click{
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 47/$f+vw;
            cursor: pointer;
            img{
              width: 100%;
            }
          }
          .p2{
            color: #FFF;
            font-size: 30/$f+vw;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
          }
        }
      }
    }
  }

  .section2{
    padding: 0 150/$f+vw 92/$f+vw 150/$f+vw;
    position: relative;
    z-index: 5;
    .wrap{
      .end{
        display: flex;
        justify-content: flex-end;
        margin: 0 0 80/$f+vw;
        .button{
          display: flex;
          gap: 0 40/$f+vw;
          margin: 36/$f+vw 0 0 0;
          .click{
            width: 80/$f+vw;
            height: 80/$f+vw;
            position: relative;
            cursor: pointer;
            &:hover{
              img{
                opacity: 0;
                &:last-child{
                  opacity: 1;
                }
              }
            }
            &:last-child{
              transform: rotate(180deg);
            }
            img{
              width: 100%;
              transition: .6s ease;
              &:nth-child(2) {
                position: absolute;
                top: 0;
                left: 0;
                transform: rotate(180deg);
                opacity: 0;
              }
            }
          }
        }
      }
      .content{
        width: 100%;
        .swiper1{
          width: 2005/$f+vw;
          .item{
            width: 100%;
            height: 616/$f+vw;
            border-radius: 2/$f+vw;
            border: 2/$f+vw solid #0080FA;
            background: #01000A;
            padding: 56/$f+vw 56/$f+vw 0 56/$f+vw;
            &.on{
              .img{
                .hide{
                  opacity: 1;
                }
              }
            }
            .img{
              width: 100%;
              height: 459/$f+vw;
              position: relative;
              .pic{
                width: 100%;
                height: 100%;
                position: relative;
                &.on{
                  img{
                    opacity: 0!important;
                    &:nth-child(3){
                      opacity: 1!important;
                    }
                  }
                }
                &:hover{
                  img{
                    &:first-child{
                      opacity: 0;
                    }
                    &:nth-child(2) {
                      opacity: 1;
                    }
                  }
                }
                img{
                  width: 100%;
                  height: 100%;
                  position: absolute;
                  top: 0;
                  left: 0;
                  transition: .6s ease;
                  &:nth-child(2),&:nth-child(3) {
                    opacity: 0;
                    pointer-events: none;
                  }
                }
              }
            }
            .text{
              display: flex;
              align-items: center;
              justify-content: space-between;
              position: relative;
              margin: 23/$f+vw 0 0 0;
              .p1{
                color: #FFF;
                //font-size: 32/$f+vw;
                font-size: 24/$f+vw;
                font-style: normal;
                font-weight: 500;
              }
              .p2{
                color: #FFF;
                //font-size: 24/$f+vw;
                font-size: 18/$f+vw;
                font-style: normal;
                font-weight: 400;
                line-height: normal;
              }
            }
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    .banner{
      img{
        height: 300px;
      }
      .text{
        font-size: 28px;
        top:50%;
        line-height: 1.2;
      }
    }

    .section1{
      padding: 40px 5%;
      .wrap{
        flex-direction: column;
        gap: 20px 0;
        .item{
          width: 100%;
          height: auto;
          border: 1px solid #0080FA;
          padding: 5%;
          .img{
            height: auto;
            img:first-child{
              position: static;
            }
            .hide{
              .h1{
                font-size: 13px;
                line-height: 1.6;
              }
              .h2{
                p{
                  font-size: 13px;
                  line-height: 1.6;
                  &:after{
                    display: none;
                  }
                }
              }
            }
          }
          .text{
            margin: 15px 0 0 0;
            .p1{
              font-size: 16px;
            }
            .click{
              width: 25px;
            }
            .p2{
              font-size: 14px;
            }
          }
        }
      }
    }

    .section2{
      padding: 50px 5%;
      .wrap{
        .end{
          .button{
            gap: 15px;
            margin: 0 0 15px;
            .click{
              width: 45px;
              height: 45px;
            }
          }
        }
        .content{
          .swiper1{
            width: 100%;
            .swiper-slide{
              .item{
                width: 99%;
                height: auto;
                border: 1px solid #0080FA;
                padding: 5%;
                .img{
                  height: 300px;
                  img:first-child{
                    position: static;
                  }
                  .hide{
                    .h1{
                      font-size: 13px;
                      line-height: 1.6;
                    }
                    .h2{
                      p{
                        font-size: 13px;
                        line-height: 1.6;
                        &:after{
                          display: none;
                        }
                      }
                    }
                  }
                }
                .text{
                  margin: 15px 0 0 0;
                  .p1{
                    font-size: 16px;
                  }
                  .click{
                    width: 25px;
                  }
                  .p2{
                    font-size: 14px;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}